package org.goldfish.chatroom.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.goldfish.chatroom.entity.Message;

import java.util.List;

@Mapper
public interface MessageMapper {
    void insertMessage(Message message);
    List<Message> getMessageDetails();
    List<String> getMessages();
}
